<?php
//include login info
include('db_login.php');
//connect
$connection=mysql_connect($db_host,$db_username,$db_password);
if (!$connection)
{
	die ("Couldn't Connect to the Database: <br>".mysql_error());
}

//select db
$db_select=mysql_select_db($db_database);
if (!$db_select)
{
	die ("Couldn't select db: <br>".mysql_error());
}


?>